#define RANGE 1
#include "object.h"

Object::Object(unsigned int _id, Color _c, double _miS, double _miK)
    : id(_id), selected(false), color(_c), miS(_miS), miK(_miK){}

const double &Object::getMi(const Vector3D &_velocity) const
{
    if(_velocity.length() < RANGE)
        return miS;
    return miK;
}
